package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.AdminBetStatisticsMapper;
import com.ruoyi.system.domain.AdminBetStatistics;
import com.ruoyi.system.service.IAdminBetStatisticsService;

/**
 * 下注统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-10-21
 */
@Service
public class AdminBetStatisticsServiceImpl implements IAdminBetStatisticsService 
{
    @Autowired
    private AdminBetStatisticsMapper adminBetStatisticsMapper;

    /**
     * 查询下注统计
     * 
     * @param littleCommand 下注统计ID
     * @return 下注统计
     */
    @Override
    public AdminBetStatistics selectAdminBetStatisticsById(String littleCommand)
    {
        return adminBetStatisticsMapper.selectAdminBetStatisticsById(littleCommand);
    }

    /**
     * 查询下注统计列表
     * 
     * @param adminBetStatistics 下注统计
     * @return 下注统计
     */
    @Override
    public List<AdminBetStatistics> selectAdminBetStatisticsList(AdminBetStatistics adminBetStatistics)
    {
        return adminBetStatisticsMapper.selectAdminBetStatisticsList(adminBetStatistics);
    }

    /**
     * 新增下注统计
     * 
     * @param adminBetStatistics 下注统计
     * @return 结果
     */
    @Override
    public int insertAdminBetStatistics(AdminBetStatistics adminBetStatistics)
    {
        return adminBetStatisticsMapper.insertAdminBetStatistics(adminBetStatistics);
    }

    /**
     * 修改下注统计
     * 
     * @param adminBetStatistics 下注统计
     * @return 结果
     */
    @Override
    public int updateAdminBetStatistics(AdminBetStatistics adminBetStatistics)
    {
        return adminBetStatisticsMapper.updateAdminBetStatistics(adminBetStatistics);
    }

    /**
     * 批量删除下注统计
     * 
     * @param littleCommands 需要删除的下注统计ID
     * @return 结果
     */
    @Override
    public int deleteAdminBetStatisticsByIds(String[] littleCommands)
    {
        return adminBetStatisticsMapper.deleteAdminBetStatisticsByIds(littleCommands);
    }

    /**
     * 删除下注统计信息
     * 
     * @param littleCommand 下注统计ID
     * @return 结果
     */
    @Override
    public int deleteAdminBetStatisticsById(String littleCommand)
    {
        return adminBetStatisticsMapper.deleteAdminBetStatisticsById(littleCommand);
    }
}
